<!--
 * @Description: 文件描述
 * @Author: 1+
 * @Date: 2024-03-19 10:57:14
 * @LastEditors: 1+
 * @LastEditTime: 2024-04-28 10:54:58
-->
<template>
  <div
    v-if="targetData"
    class="go-chart-configurations-setting"
  >
    <!-- 名称 -->
    <Name :chart-config="targetData.chartConfig" />
    <!-- 尺寸 -->
    <Size :chart-attr="targetData.attr" />
    <!-- 位置 -->
    <Position
      :chart-attr="targetData.attr"
      :canvas-config="editCanvasConfig"
    />
    <!-- 自定义配置项 -->
    <component
      :is="targetData.chartConfig.conKey"
      :option-data="targetData.option"
    />
  </div>
</template>

<script>
import mixin from '../minxins'
import Name from './name'
import Size from './size'
import Position from './position'
export default {
  mixins: [mixin],
  components: {
    Name,
    Size,
    Position
  }
}
</script>

<style>
</style>